#pragma once
#include "shapedisplayobj.h"
class DEF_MODELOBJ CLineDisplayObj :
	public CShapeDisplayObj
{
public:
	CLineDisplayObj(CEntityObj *pEntity);
	CLineDisplayObj(CLineDisplayObj* pSrc);
	~CLineDisplayObj(void);
	
	virtual eDisplayObjType GetDisplayObjType() const {return SHAPENOTE_LINE;}
	void Display(CHoopsMap *pHoopsMap);
	virtual int GetHandleCount();
	virtual HPoint GetHandle(int nHandle);
	virtual HCURSOR GetHandleCursor(int nHandle);
	virtual void Serialize(CArchive & ar);

	eLinShowStyle GetLineShowStyle() const { return m_eShowStyle; }
	void SetLineShowStyle(eLinShowStyle val) { m_eShowStyle = val; }

	static CString GetShowStyle(eLinShowStyle eStyle);
	static eLinShowStyle GetShowStyle(CString sStyle);
private:
	eLinShowStyle m_eShowStyle;
};

